import React, { Component } from 'react';
import { Link } from 'react-router-dom';

class Home extends Component {
    render() {
        return (
            <div className='home'>
                <div className="home_main">
                    {
                        this.props.children
                    }
                </div>
                <ul className="home_footer">
                    <li>
                        <i className='icon iconfont icon-shouye'></i>
                        <Link to="/home/homes">首页</Link>
                    </li>
                    <li>
                        <i className='icon iconfont icon-fenlei'></i>
                        <Link to="/home/list">分类</Link>
                    </li>
                    <li>
                        <i className='icon iconfont icon-gouwuche'></i>
                        <Link to="/home/carlist">购物车</Link>
                    </li>
                    <li>
                        <i className='icon iconfont icon-31wode'></i>
                        <Link to="/home/my">我的</Link>
                    </li>
                </ul>
            </div>
        );
    }
}

export default Home;
